#ifndef HMISUPERVISEUR_H
#define HMISUPERVISEUR_H

#include <QObject>
#include <QDebug>
#include <QTimer>
#include <QFileInfoList>
#include <QDir>

class HMISuperviseur : public QObject
{
	Q_OBJECT
public:
	HMISuperviseur();
	virtual ~HMISuperviseur();
	QString GetMediaPath();
signals:
	void setWidget_StartVisible(bool newStat);
	void setWidget_SettingVisible(bool newStat);
	void setWidget_RecordVisible(bool newStat);
	void setEnable_UsbWork(bool newVal);
	void setEnableBtn_finenregistrement(bool newVal);
	void setTextLbl_EnregistrementEnCours(QString newText);
public slots:
	void SetStartStatus();
	void SetSettingStatus();
	void SetRecordStatus();
	void Check_MediaStorage();
	void EndRecordStartEncode();
	void EndEncode();
private:
	void SetUSBStatus(bool newStatus);
	QTimer *ChckUSB_timer;
	QTimer *Record_timer;
	bool KeyStatus;
	QString MediaPath;
};
#endif